﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SendEmail.aspx.cs" EnableEventValidation="false" Inherits="User_UserEmail_SendEmail" ValidateRequest="false" %>

<%@ Register TagPrefix="mck" TagName="TextBox" Src="~/CKEditor.ascx" %>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>发送邮件</title>
    <script type="text/javascript" src="../../js/MyOption.js"></script>

   <link rel="Stylesheet" type="text/css" href="../../Styles/right_style.css" />
   <script type="text/javascript" src="../../Scripts/jquery.ui/js/jquery.js"></script>


   <style type="text/css">
        <!--
        html{ scrollbar-base-color: #dbecf8; scrollbar-arrow-color: #2a8ed1; scrollbar-track-color: #bdddf2; scrollbar-3dlight-color: #2886c5; scrollbar-darkshadow-color: #2886c5;
        scrollbar-face-color: #dbecf8; scrollbar-shadow-color: #dbecf8;  }
        -->
    </style>

</head>
<body>
    <form id="form1" runat="server">
        <div class="sub_right_top">
            <div id="tb1_1_content" style="display:block;">
       <div class="sub_jieshou_mail">
         <form id="form2" name="form1" method="post" action="">         
         <table width="97%" border="1" align="center" cellpadding="0" cellspacing="0" 
             bordercolor="#77acd0" style="border-collapse:collapse; font-size: 12px;">
           <tr bgcolor="#b1d5ef">
             <td colspan="2" align="center">发送内部邮件</td>
            </tr>
           <tr>

             <td width="70">收件人：</td>
             <td><table width="100%" border="0" align="left">
               <tr>
                 <td width="280" style="font-size: 12px">待选人员</td>
                 <td width="47">&nbsp;</td>
                 <td><p style="font-size: 12px">已选人员</p>                   </td>
               </tr>

               <tr>
                 <td width="280"><label style="font-size: 12px">
                                                  <input id="willSelectOneTxt" onkeyup="willSelectOneTxtValueChange('willSelectOneTxt','willSelectOneLbx')"
                                    style="width: 160px; background-color: linen" type="text" />
                                查找待选人员姓名</label></td>
                 <td width="47">&nbsp;</td>
                 <td rowspan="2" valign="top">
                   <label>
                   <asp:ListBox ID="selectedLbx" runat="server" BackColor="#EFF5FB" Height="186px" SelectionMode="Multiple"
                                    Width="255px"></asp:ListBox>
                  

                   </label></td>
               </tr>
               <tr>
                 <td width="280">
                     <asp:ListBox ID="willSelectOneLbx" runat="server" BackColor="#EFF5FB" Height="161px" 
                                    SelectionMode="Multiple" Width="266px"></asp:ListBox>
                                <script type="text/javascript">
                                    loadOptions('willSelectOneLbx');
                                </script>
                    </td>
                 <td width="47">
                   <p class="msm_pad">
                        <input id="theOneRightMoveButton" onclick="moveSelectEmp('willSelectOneLbx','selectedLbx','right')"
                                        style="width: 37px; height: 24px" title="添加到已选人员" type="button" value=" >> " />
                   </p>
                   <p class="msm_pad">
                        <input id="theOneLeftMoveButton" onclick="moveSelectEmp('selectedLbx','willSelectOneLbx','left')"
                                    style="width: 37px; height: 24px" title="从已选人员中移除" type="button" value=" << " />
                   </p>
                   <p class="msm_pad">
                   <input id="theOneAllRightMoveButton" onclick="moveALLSelectEmp('willSelectOneLbx','selectedLbx','right')"
                                        style="width: 37px; height: 24px" title="全部添加到已选人员" type="button" value="-->>" />
                   </p>
                   <p class="msm_pad">
                     <input id="theOneAllLeftMoveButton" onclick="moveALLSelectEmp('selectedLbx','willSelectOneLbx','left')"
                                    title="全部从已选人员中移除" type="button" value="<<--" style="width: 37px; height: 24px" />
                   </p></td>
                 </tr>
             </table></td>
           </tr>
           <tr>
             <td width="70">附件：</td>

             <td>
                <asp:HyperLink ID="HyperLink1" runat="server"
                        Font-Overline="False"  Font-Underline="False"
                        NavigateUrl="#">添加附件</asp:HyperLink>
                        <input id="uploadFilePaths" runat="server" type="hidden" />
             </td>
           </tr>
           <tr>
             <td width="70">内容：</td>
             <td><label>
              
                                <mck:TextBox ID="ftbEmailContent" ClientIDMode="Static" runat="server" Toolbar="TarreBasic" />
                    <input id="selectedEmpCollection" runat="server" type="hidden" />
             </label></td>

           </tr>
           <tr bgcolor="#b1d5ef">
             <td colspan="2">
               <asp:Button ID="btnSendEmail" runat="server" OnClick="btnSendEmail_Click" OnClientClick="return checkSendTarget('selectedLbx','mckeditor')"
                        Text=""  CssClass="button_fs_an"/>  </td>
            </tr>
         </table>
         </form>
         <div style="height:15px; overflow:hidden;"></div>
       </div>
    </div>

        </div>
    </form>
</body>
</html>
